<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>修改用户信息</title>
    <link rel="stylesheet" href="../static/css/userInfo.css">
</head>

<body>
    <p>用户管理中心</p>
    <hr>
    <form action="http://localhost:5000/user_information" method="post">
        <table>
            <tr>
               <td>意向城市</td>
                {% if user.user_targetcity==None %}
                <td colspan="2"><input type="text" name="city" placeholder="请输入意向城市"></td>
                {% else %}
                <td colspan="2"><input type="text" name="city" value="{{ user.user_targetcity }}"></td>
                {% endif %}
            </tr>
            <tr>
                <td>意向职业</td>
                {% if user.user_targetjob==None %}
                <td colspan="2"><input type="text" name="job" placeholder="请输入就职方向"></td>
                {% else %}
                <td colspan="2"><input type="text" name="job" value="{{ user.user_targetjob }}"></td>
                {% endif %}
            </tr>
            <tr>
                <td>期望薪资</td>
                {% if user.user_minsalary==None %}
                <td><input type="text" name="minsalary" placeholder="最低薪资"></td>
                {% else %}
                <td><input type="text" name="minsalary" value="{{ user.user_minsalary }}"></td>
                {% endif %}
                {% if user.user_maxsalary==None %}
                <td><input type="text" name="maxsalary" placeholder="最高薪资"></td>
                {% else %}
                <td><input type="text" name="maxsalary" value="{{ user.user_maxsalary }}"></td>
                {% endif %}
            </tr>
            <tr>
                <td>输入密码</td>
                <td colspan="2"><input type="password" name="pass"  placeholder="请输入密码" required></td>
            </tr>
            <tr>
                <td colspan="3"><input type="submit" value="提交"></td>
            </tr>

        </table>
        {{ edict }}
    </form>
</body>
</html>